started refactoring and sorting out
install added