classes and functions doc texts and comments added