Added initial templates and moved api call
 - Moved templates to new file. More work to be done here, including using a templating engine probably
 - Moved the api to the pidora.py file.