tweaks on model, hive and model tests; broke model out into its own NPM module.