Remove unnecessary using statements, braces and added more comments.