a lot of changes to support flask-restful + sql alchemy models
test get activities works