moved configuration logic as much outside of upaas as possible, it will only assemble config file from pieces, setup subscriptions, variables and envs, uWSGI will do the reset