Moe to using prototype for almost all functions, few more refractorizations left, and converting everything to use to global nc instead of this, also converting to tab indent instead of spaces, I prefer tabs