add file header
remove binary
move marker functionallity to it's own module
improve test
fix script