add animation loop and basic code for paddle and ball