move code over to make the game api clear
add some api code
Merge branch 'master' of git@github.com:djungowski/node-battleship.git