VX(Li): Add invoke and exception catching capabilities.
VX(Li): Refactor scheduler