General refactoring and logical improvement. Triggers' structure established. Configuration objects introduced