Update package layout as per Flask recommendations

Flask now recommends avoiding namespace packages see
http://flask.pocoo.org/docs/extensiondev/#extension-import-transition