updated documentation and exception handling
standardized layer values
updated transition code
updated exception handling
updated documentation
added support class for modularization
added support class for modularization
updated transition implementation