make sending command to be asynchronized
remove unused files