Added a lot of new classes for later use. Compiles okay. Needs implementation of some functions.