Initial commit with complete code and docs