db: working api
cyphar: added db api to server
templates: updated templates to load from database
*: added competitions