Added handler and model modules with tests.