added a first version of the Manager class
added comments to the class