rename resources dir to images
Use acceleration to get X and Y inputs
use x and y from acceleration