[Closes #13] Full conditional logic

Available implementations for:

- MySql
- MongoDB

Missing implementations for:

- ElasticSearch
Remove the dynamic function call on line 66. Only modules that define callbacks should make dynamic calls.