See the Tutorial in the ATOM distribution.
