Move shims to their own file, implement putc shim
Partially implement shop