add skeleton for device application. make web http routes more generic