Made helpers for get/write: inode, dnode, db; also got core logic of vfs_write