Simple App Factory

Simple App Factory