added license into to the stg files and tweaked some documentation