Added basic structures/flow for data read/write