Integrating RedBeanPHP into the code.