cleaned up configuration and added public commands