Cleaned up Main Loop and Added Init Function For Each Module