Moved static content to a /static directory
Added mysql error handling
Added caching, real 404 page