First working version! Read-only for now, but it works