set settings to server mode
added static
Added a bunch of production-specific edits
removed maindb