refactoring LRS to a separate project