Issue #41 proper code format and docs