change and simplify config format
refactor python code for app
simplify extension code, update jquery version