Loading Images moved to function

- loading images moved to function outside of init()