ticket:10 added tests
ticket:10 added model for db events
ticket:10 implemented signal processors
ticket:10 fixed tests