start refactoring and change name to LiteScope