added package and some comments to the framework