Refactor seeds, factories and update to coffeescript syntax