Adding api/base controller
Adding metrics model