Minor changes to Core. Get rid of OnEvent func.
Delete unused module. Get rid of XMLs.