Reorganizing

Moved player methods to Player class and viewport methods to viewport
module