Implemented basic configuration check
Implemented domU config writer
Use test() instead of check() for pre-execution tests
Added some comments