testing api
New api code
added all currently implemented api methods to api.js
fixed last commit
changed layout in api.js
added a popover to the home screen
added templates
merge