MovelViewer is great example to follow. All the resource paths need "data/" to be added otherwise you get corrupt memory errors.