added constructor camera coord io
removed some unused imports
cleaned up some code
added comments