Trying to split program into files