use spin package instead of including code in the app