added isPrime() method
quality control
renamed BaseUI -> AbstractUI to follow naming recomendation
renamed BaseForm -> BaseUI for naming consistency to other classes in the package