Added basic api calls and data managmente