rewrote initialization of cache
removed not needed stuff from cache
moved tests into special folder and create some cache tests
small filecache improvements