License added to repo root.
First stab at error class.