refactored bullet reflection into one constraint
extracted Timer and Loop from main