Code cleanup
Added CONTRIBUTING documentation

This closes #12.