added first draft on active record's models