[UPD] code refactoring - split controller+model vs. view