Refactoring controllers. Added seeds file