add figaro
added models and controller for api
API and Figaro now working