use ConcurentLinkedHashMap to avoid Memory leaks in application, add config parameter to determine cache size

fix cache property

fix accidently changed stuff

push

 push again

indentation

Revert "indentation"

This reverts commit 1c84eb7107cabefab5099a550cccde00875765a3.