added loading template and spin package