Added min/max size for the main window. Removed __ from star of methods in some classes. Added base class for context manager and configuration reader.