adding in models, population script, controller and view code for registry