move code base over from web server in new structure outlined in code_structure.md