Adding comments and best practices
Added more comments and final.
Added final comments