updated licence headers and optimized imports, change APIs to compatible with case sensitivity and make fhir context to be created at only once