separate main, header, variable classes