made deviceCollisionService more effecient by reducing calls to server. Also added gulp to workflow for optimization