initial commit: refactor for ActiveRecord
create, destroy, find, and list are functional
search by name and id functional
search by name and id functional - cleaned code