updates
 - added base styles
 - added a base middleware
 - added device detect middleware
add middleware to app.py