Move almost all the current code to Character, start to build tools.

Signed-off-by: Mike Lang <mike.lang@orionvm.com.au>