Moved main.cc to code folder