Initial commit

The basic code. Pre-alpha state.