Making a framework for custom mapwork with PyQt