[cheshire] Implemented base modules, fixed lots of things