added initial gesture logic.

There is still more app structuring to do, including Jade templates and Express framework integration.