rmi with multiple types of clients
Refactored and removed
converting mainUI interface to superclass
adding cond for one admin client + refactoring