Core.Api and Core.Controller

Some additions to the framework, the ability to configure an api and
creating very very basic controllers