Initial commit of atom_lib from mercurial repo.

Migrating the library that defines an atom class.
Merge branch 'atom_lib-migration' into develop