added java files that were used previously for creating a data storage