Refactoring - Use classes

Encapsulated the Studip Interface behind  a class