Move inode to be a member in Photo
support file size
rename get_size to fetch_size