read logger and workers off of the app object, too
added example docs