Outline game loop logic.
Remove test loop.
Remove js from html file.
More setup for the game loop.