Add multiple image capability and add main frame