adding samples and ApplicationBase