Merge pull request #2 from codecop/topull

add Eclipse and IDEA project settings and do some code formatting