code cleanup
added some project infrastructure
Merge pull request #1 from xrotwang/master

code cleanup