Refactor codebase and add preliminary validation to user guesses