Modeling protein folding with a simplified approach