adding settings loader and PDO connect