update license
add line id generation and test
testing and bug fixing in cs3a implementation