moving aliases to .aliases file and adding newHostname function