Added define-state and associated macros and functions.
separated conditions, user functions and auxiliary functions into separate
libraries from template-generator.
Merge branch 'master' of github.com:Schol-R-LEA/Assiah