Convert from run script to flask-script
Switch to class-based config, use default manager server