added part of Active Record, still need to add migrations