Added Javadocs and comments
Moved import test to a button in the main window