Base application implementation.