cmdlets + tests
rename the functions and add basic unit test files