Moved files to domain and spec directories
Created method next! for Code
Created integration tests