Basic classes filled

I have filled the basic classes with utility-like functions
and have added comments in all classes