Created a databse class with simple constructor, problems to get core paths to work in pathConfig.php