It isn't available now. It will be once it has been incorporated into Calibre.
As I explained earlier, there is more than enough information in the Calibre source in calibre/src/calibre/ebooks/ module for any school project to describe how Kindlegen might work. Kindlegen would need to generally follow the same sequence of steps in its conversion process as calibre uses right now.
There is also our own Wiki here that does a great job explaining the format of the .mobi files, plus Mobi_Unpack plus DumpMobiHeader, plus Mobi2Mobi, MobiPerl, etc. Have you read and studied the Wiki?
Have you read and studied the Calibre source code (at least the ebook conversion parts)?
All these help to explain things that is more than sufficient for any school project. As you can see, converting to Mobi is not trivial and the mobi file format can be quite complex at points.
If all of that is not enough for a school project, what exactly are you looking for and more importantly why do you need it? No one here wants to do your school work for you and you will learn nothing by us doing it.
If this is not a school project and you are looking for working code for some other reason that you plan to incorporate into your own software, then you have gone about it completely in the wrong way.
Care to explain?