caller gets to pass in DB for cloudlus server, defaut if nil. cache and db size flags to cloudlus cmd