incorporated external classes to minimize # of files