Pita/etherpad-lite — pull request #431 by booo (2012-02-08 15:45:11+00:00)
Title: seperate routes from server module

What do you think about this? Maybe this is a way towards mountable apps etc. In a next step I would like to remove the state keeping in modules and create instances for settings, db, all the managers so we can have multiple instance of an app and know what we are doing :) Also I would like to make the `hasPadAccess` function a real express-precondition. I think they become very important if we change the api.

Regards
Philipp