adding utility methods for getting home dir and app dir