Implemented WindowIOController and basic main