Added minification, made BasicVal into external module