Implemented the logic behind the TLV stuff & included updated StyleCop rules (and license info)