Added comments to controls and corelibrary