refactored for optimized code generation
Release v1.2.0
moved files and added test
added documentation
set docs path relative
Merge branch 'release/1.2.0'