Fixed DB module to be MySqli and completed Advanced part.