initial source import

My old project I try to make running again
added .gitattributes to normalize windows CRLF issues