Added initial versions of API and views