added server.R and ui.R, changed the envir option in BCSM_controller