change database access. use ActiveRecord.
rewrite readme