restructure to allow install as django app