Added most methods for minor and major compactions. Still need to finish implementing methods and add tests.