rename end to done
better command line handling + restructure
notes