clean up random scripts
cleaned up and created tests for config