moved over to eclipse and added javadoc