move class PrintAdminNotice into seperate file