refactoring atmtools.profiles to tools.atm