Refactor graph properties to properties file