Refactored into Netbeans Project.