add repository information
nicer error messages
code cleanup
added ssh support (keys only)

Signed-off-by: Sven Nierlein <sven@nierlein.de>