If you are going to develop further, the following modules are responsible for collections:
https://github.com/koreader/koreader...collection.lua
https://github.com/koreader/koreader...collection.lua
You can plug any modules via the "require()" statement.
Also the propositions how to improve the collection feature are welcome.