added main java files to run program