Added mainactivity and the modified joystick code + other random files