First code commit

Commit as first draft. Requires easygui lib. It won't work alone.