replace EbookEngine wrapper classes with namespaces
remove unneeded checks in PsEngineImpl