Moves CrocodileProcess class to its own file
Adds some basic tests