export constants
export constants to JS
parse display flags
expose API for exporting constants
messing about with display stuff
update readme