Adds pages via annotation scanning and handles component property setting correctly