update index controller and view and fix plurality of to_do table to be accessible by Acitve Record