setting up page and getting a class loaded dynamically