Separate main classes in different files. Created build class.