New features for module

Hey,

i added basic authentication and refactored the module into ansibles module API standard.

Greetings,
Marc