Bugfix in caching, config and restructuring for install via composer