Initial commit with read and write working