Added basic support for statements and functions