started to add models...changed "Controller" to "Collection"
added templete helper function, more work on models and collections