Renamed stuff and also started implementation of writing blocks to disk