cleanup
cleanup
refactoring to separate model from UI
refactoring of ALineSpec