Splitted main.cpp into several executables and compilation process is now driven by makefiles.