added ajax upload of FP json and deck controller to handle it.