refactoring: use c and p namespaces in Spring config