Begun writing a java class to handle storage