Refactored how static files are served. Added required modules.