Added some comments in MainFrame
Added package documentation