Made project compatible with java 6.
Some documentation