starting api generation
better comments
formatting