Add all functions needed to main.cc ( for all classes )