Progress save before major BSA plugin development. Major fixes in settings.cs (base), added SQL compiler for large SQL statements that could be either inserts or updates, modified critical bug in template.cs (base), introduced SQL and models for BSA.