Old-school minimalist Php webapp - adding some optional extensions, based on mini-engine