Implemented TinyIoC instead of AutoFac. Fixes #158