Merge pull request #17 from hgschmie/master

Some patches to cache
add license
tab & checkstyle fixes