Implimentation of a custom MVC design pattern using Singleton patten with PDO for database interaction