Added first pawn logic, restructered and renamed some things