creating some beans for db related tasks, migrating to the log4j2