Splitting up initSqlSessionFactory in submethods for easier overriding (will be discussed in upcoming blogpost)