Cleaned up lib

Signed-off-by: Arne Seib <kontakt@seiberspace.de>