Refactored to use flask blueprints, zurb, and compass