Adding ability to define options, updating readme, adding tests
moving calculate-margin function external. fixing defect with really long task name
removing accidental file copy
fix lint errors. Cleanup code.