Bug fixes and functionality, everything works except for class definition regexes, which
i will tackle later