Improving compilation logic.
Added Table functionality
Additions and corrections