added ability to set a separate session database (to may use SQLite or whatever)
added markdown module existent check