Added UTF8 to dsn and added missing variable $e
Placed the wrapper in a separate src folder
 added minor details