Switched to martini framework