Improved semantics refactoring markup sligtly

Also added licence file and updaed the readme