added editors
added an API doc and updated README
removed utility code from variable code