edit first edition of TUTORIAL.md
add lsr lib interface
add lsr socket module
add Makefile for lib