Adding initial framework for api