Changed atomic core

Now more JSTR like.
Merge pull request #18 from lesdmark/master

Changed atomic core