Display

Wrote Display module. Also improved func_json, main's api. Added tests for all new functions.