changes to deploy and register scripts for nodb etc.  Also added controller/models for creating network