Split main file in several clases