made the FileAPI as service, created the deploy grunt task, integrated the validation server side on file load