Javadoc

Fixed issues were javadoc couldn’t be generated with help from reddit.
Started on javadoc writing for Engine.