Imported a function from SAE.
Started implementation of multiple instruction reference (switch).
Improved code and fixed bugs.
Added more utility functions.