Added htmlentities and stripslashes and made RedBeanPHP location settable