Fix namespaces for exceptions
Add default method index for controllers