Updated scanner to build for python3
Updated linedetect for python 3
Started updating line editor to take advantage of new API