Add possibility to write properties
Adding javadoc