moved files from Rails2 app (not yet working)