added namespace handling
support for inner classes is not yet implemented in OOModel therefore
inner classes are not yet supported
renamed function
according to discussion
added a logger class
to output errors and warnings