Made some minor refactoring to ease code readability
Converted line delimiters to Unix style
Applied more code formatting to make code readable
Added test for GitHub issue #49
Ignore generated sources