updated readability of EJB slides and added singleton state machine