remove unused comment
and make config more flexible
externalize config file
remove unused template
add error handling client side and add loading message
add loading animation