Moved initialization code into main.cpp, and removed some unnecessary #include's.