add AImage and AFrame class