Initial commit with working versions of some parts.