Fixing coding issues, hardcoded paths, hardcoded drupal functions, making the extension CIVI native