Initial commit of code, previously released as v3
Updated licence to one on code