restructered scripts directory, added directives, services