Remove all startup aid functions from cli script

These functions can be used also by other front ends,
hence they are now found in __init__.py
pep8ify
Added view for editing node

still not complete