first raw version, functional CLI

webbased has a few bugs, so the use of CLI is advised