added bunch of gui stuff and the ui file from qt designer