use PUT for /model and /modules instead of POST; fix bugs
use PUT for /model and /modules instead of POST; fix bugs
add .gitignore
fix bug when reloading the modules