Improve Core

wrap "perm" method, so it can take 2 parameters (like others method in
class)
Add event handlers (to view and controller)

Program UI almost complete (but without main sequence generator in
thread)