Rendering moved to appropriate header and .cpp files, mouse coordinates detected