added dynamic loading of policies and first performance tests