More code, json parser and stuff