Added remove identifier functionality

Finished implementing the database interface
Made small changes to the MockChunkRandomAccessFile to prevent errors.
Added some tests.