Organized code. Mostly in main.cc.