Changed parent class of Api controller. Changed namespaces.