remove all LSE_ prefixes on class names; remove unnecessary defines; convert defines into enumerations