config clean up
added directive for upload component