Added a Object class

This is the main class all other classes should inherit from, to get
some commonly used methods for classes.