Refactor DynamicAttributes
Fixed dynamic date attribute bug
Added init approach