Refactor classes to package 'linehandler'
Add tests to PositionalLineHandler