added flask json and cleaned up css box