MainFrame organization finished

made methods for all initializations and component setups