heroku ready
fix blank guess crash
refactor tests
refactor code