swapped to blueprints

ended up going back to blueprints to get the delayed binding
of the app to the API to work with swagger
prob not bad practise to do it like this anyway, makes it
very modular and could swap in multiple versions of the api in one
app if needed