Complete refactoring of interface's elements + correction python2 error