figured out how rails 4 creates
adds styling
updates styling and logic
Merge pull request #5 from dgoodman1224/full_logic

Full logic