refactoring and separating out forcefield agnostic atomtyping functions into separate files