Added processing domain & tests

Now using mocha for testing. Added processing domain.