Added the base class

The base class is a way to add unique object ids to any class that
inherits it. It can also be used to add initialization to all objects
that must be shared.

Other changes:
- Ran full build
- Make sure compile doesn't compile all lib files