Abstracted the database CRUD functions, created a basic Exercise class.