change config.ru and pg to todo.rb