refactored a bit + metainf work
bugfixes.
removed xbean stuff.