do everything by file extension

add spinner class