core file
Core parts moved to core. Decorator registers url rules for all methods