.broken out sm into its own file, 
.added a process file
.added a processing state