Core library for use to implement in a browser or platforms extension system