Added libraries and netbeans compatibility