Made first working version of OS (currently has output stream bug)