Basic PHP/MySQL web app using OOP