added guess counter. other refactoring.
renamed files.
renamed files