Added and improved documentation as well as renamed variables and
classes for better integration into Qt