Initial commit of mimic. Passes a few tests. TODO DI and travis.