Refactored Game indepedent of output
Created AJAX game interface