detach orm as module
generate package.json for application