model refactoring
move render logic from view to template
use view.$ helper for selecting HTML element
remove view when model is removed
add TODO
fix some view's resource leaks