Removing hard coded strings, offsets, and sizes. Also adding a some native types
using ConcurrentDictionary for static objects. Fixing IIS scenario where %HOME% isnt defined