Jacek, I think you want to use the Blueprint functionality to do this. <http://flask.pocoo.org/docs/0.10/blueprints/>. This allows you to avoid the "from server import app". You could have the list of blueprints registered with the main server be configurable, or you could have specialized (very simple) servers for each blueprint for testing. -- Kian-Tat Lim, LSST Data Management, [log in to unmask] ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the QSERV-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1