Added an example.
Changed javac version back to 1.6.
General refactoring.