Some fixes for the statefree models + tutorial on statefree models (incomplete)