Started to implement KairosException. Deleted some obsolet classes.