refactoring step 1: usr/bin/sdwdate -> usr/lib/sdwdate/modules.d/sdwdate
refactoring step 2: moved commands outside of functions form usr/lib/sdwdate/modules.d/sdwdate to usr/bin/sdwdate so usr/lib/sdwdate/modules.d/sdwdate can be sourced (by unit test)
fix
unit test