Add basic readonly structure
Add file writing