Massive changes.

The hast table structure on object.h was removed. It was a really dum an
complicated idéa. To many casts.

The new system is far from perfect and due to a lot of changes a lot of
bugs will remain in the code.