IMplemented control function logic - compiles to python code.

Need to write a few tests to cover expressions.

Created base Table object but doesn't really do anything yet.