Full refactoring
Added command for adding new hosts and some comments