New passive reader class. Fixed bug in application construction.