General refactoring
rename "Segment.hs" to "main.hs"