final commit
	Added javadoc
	Erase unused code
	Edit functionnames