remove offset point based positioning
fix incorrect naming syntax
rename write method to rewrite
start refactoring line drawing