Implement controller. Add sorting and paging (work in progress).
Merge branch 'master' of https://github.com/andon/spademo.git