Logical commands

This PR adds the logical commands. By now, only the stubs are present.
Is there anything missing here? Please tell me.

@waysome/hackers