added algorythm for get quote and several new facility features