Action handlers added

The logic core now works;
Action handlers are created from the DOM and no more hardcoded