Implements basic tkinterface class. All important attributes are part of self so they can be accessed on the submit function