Add default constructors
Replace malloc
Remove using declarations
Code style
Indentation
Code style
Use temporary variables
Simplify functions
Remove unnecessary field