Simple Database written in Java