Add support for type declarations, and fix handlying of some operators.
Add support for struct declarations.