Added different env log
Generalize app design
Use different public file for diff env