added source samples
changed namespace, check arguments on start of program