Moved static resources into subfolders. Added JSON routes. Renamed templates, etc.