Added markets controller

Testing to sync market branch as well