Changed to rails 4, fixed models, added home view