copy changes from setup_dev to setup_base

still need to move all lib functions