Added facade. Fixed JSON handling.