working de/encoding
first (very, very, very buggy) version
license header