Added intial Controller API and tests