removed useless javadocs
added apache2 licence headers