Added new features

Tweaked Arm code, and added Javadocs as well.