Adding readme text and fixing header runtime behavior