Part 2.2, added image references and implemented logger class
Part 2.3, logging added for onResume