various small updates; starting changes in order to make this just a library with implementation as tools in a separate repo;  also added new lexical_cast which is a modified version of zi_lib to handle scientific notation