Fixed prod/dev config loadings & added comments & console.logs