Refactored a few classes and some more changes

Refactored Element class, renamed it to ElementType. Added osgi manifest
generation plugin. Created default implementation of ElementType.