fixed cs, tweaked composer json, introduced some constants