Ionic2 Vertical drawer

There is an lib ion-drawer-vertical i can found any simmiler lib neither in angular2 nor in ionic2.
So now i decided to contribute and write new lib for ionic2 but i dont know where to start. please can any one guide me the structure of ionic based libs.
I just need a some base to work on .
Currently i m confuse on choosing directive or component.