Switched all double quotes to single quotes.
Added rough implementation of all features. Note: this is a VERY rough implementation.