A lot of general documentation and docstrings, issue #25

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>
Delete unnecessary line

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>
Use global constant instead of hardcoded 300

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>