add Netbeans Platform application and modules
add copyright notice
fix NullPointerException
implement Learn mode