Added comments and params to constructor and functions with styling