A simple todo application in scala