adding typesafe config refactoring API servlets