A simple database implemented with java