Fixed dynamic reconfigure namespace, cleaned up various code