finishing basic crud functionality, need to transfer db to parts