Add basic functionality for todo