moving ship object to its own js file and modifying animation demo based on that