split server start up from app