Help with building advance editor inspector

How do I make a the inspector like in this package
http://forum.unity3d.com/threads/103542-Customizable-RPG-GUI-Setup-WIP

I need to know how to create options, panels, tabs in the editor.
Thanks

You start by making a custom editor or editor window. Works similarly to monobehaviour’s OnGUI

Thanks a lot