Added tools modules, improved bit module, and improved command line access to functions in modules.