added java implementation for importing properties