refactored. working as intended, though still more to refactor when time permits. also added seed files.