nice naming but
> big array of the locations of all the classes)

is a hack

and
>multiple classes definitions in a single file

is even more dirty hack