switched to blueprints (all but websockets) for easier static file and template handling