Added /api/ prefixed route for json api.
Added "add" functionalities to todos in todolists