Refactor Lodo module into proper folder structure