adding netbeans files in gitignore
adding config for phpunit
unit testing for the factory method pattern