Cleaned up with white space.
Added clear function.
Changed component declarations for consistancy.
Fixed spelling issue.