Initial commit with some code. Not tested.