Properly init state and codestore.
Make this run a full program.
Add missing datatypes.rs file