associations built, should have more tests but app works as intended