Added config as Martini middleware