refactoring to get rid of printf

refactoring to get rid of printf
split/extract several files
add crash handler
fix bug with calculation offset for CALL (E8)