fixed the layer editor, migrated guideline from client package and made it part of the layer properties, revised the guide line representation from two points to a closed form linear equation
improve javadoc