Made project and class MainFunction