enhanced internal handling + more tests

Large refactoring of internal processing flow done. Added unit tests
for almost all attribute and constant pool types