Updates Specs

Added Documentation on Java Code.