Consolidated parsing to Base#generateFunction() - Closes #6
Added $event for Event Binding - Closes #4