first version

Actual first version that's at least usable (used locally myself).