Updated readme
Updated library and control functions