Added debug arg to main. Seperated out Frame into own class.
Started adding logic to calculate FPS.