Refactoring so responsibilities are more correctly aligned. Adding Netbeans/Ant files.