added javadocs and documentation stuff