Refactor application file to use classes

Introduced IDE class to hold different panes