Extract Constant

There should be a possibility to extract a property/value pair as a constant. If the constant file doesn't exists a new one should directly be created.