I think you should read some operating system book like Maurice J. Bach or may be Andrew Tanenbaum where you can find the implementation of minix.
understanding the basic designs of how a file system is implemented will make your work easy.
more ideas of implementation of kernel can be read from some kernel programming books like robert love which is the most basic book and tells different parts of kernel in simple way.