Add spin module

Add spin module and eclipse project file