Implemented ProfilesModel properly; wrote unit tests; wired into app