Refactoring sysentry and symbol export system.

Signed-off-by: Martin Ribelotta <martinribelotta@gmail.com>