use bottle-mongo plugin
split webapi into separate files