feat: using process.mainModule and reading views path from config