Ks commit 13

-revised instantiating basic commands
-file is created for run the application
-fixed some logic in MS
-some small corrections