Implementation of base classes.

Base classes to make things kind of working have been implemented. Still
mmissing part of the expected functionalities, unit tests, javadoc,
annotations support.