added libraries json template and DELETE method