Implemented auto loader for classes. Made route class.

Made a seperate route class that represents a single route object.