engine

added engine.js to hold the main functions that run and initialize the
game