Initial commit with battools submodule.
Bug fixes and cleanup
Initial
Initial.
Made Config.prc general-purpose. Tweaks and comments.
Initial