Basic database functionality working but removed Segment table, added start and stop recording functionality, add display and delete stats functionality.