models refined, url patterns added