Added java files

Core program files added.