Added Advisor class functions to avisor.php