moved db pool initialization to MirConfig completely. Database.jave also