add ng css input validation
refactor directory structure