device-check directory /tpl renamed to /views
check-devide directory /js renamed to /scripts
references updated
check-device - update app structure