initial commit connection controller

meant to push this to master