start of AR project
converted to active record