Start of refactor. Moving permissions panel to it's own class
More refactor. Move pack list to main frame
Lots more refactoring. Moved a lot of initialization stuff to globals. MainClass actually looks clean now