add configurable decimal count
cleanup unused files