Adding engine reading functionality.

Very first phase.