test: fix viewService#createFolder
fix: better handling of id in Collection#get
refactor: move view and folder logic for viewService into controller instead