Amends the changes in main java source

Revert "Removed Version stuff"

This reverts commit 4e88ebae00bd0c3013e3cbb64202cb939c6399e8.