Started converting to rails app