fixed bugs in example method
improved configuration management
improved WSGI example (generic WSGI file + configuration file)