refactoring;
move device related scripts to /device;