Made into a Netbeans project for easier editing