Some changes made by me and Desislav

Some major refactoring, renamed some variables and added classes Pawn
and Coordinates.