Handling time value and other formats
dashirizing non value directives key
Using directive class instead of have all the logic here