Access DSExecutable from the runtime

1. Class and function tables from DSExecutable at runtime
2. Remove direct usage of class and function tables from core from the
runtime