Refactored some code and added directory diff.
Added som tests but the tests really need to be enhanced.

We still need to add tests for complexity count, specifically for getMethods()

Now I think code is aligned to test Java.

TODO: do interface for parsing different file types.