30-40$ is not the greatest bankroll for 2NL cash games, but its not terrible either. If you are a winning player, its going to work more often than not. And if it dont, its not the end of the world, since you can perhaps redeposit at some later point. So why not just give it a shot? The plan would then be to stay at 2NL, until you have something like 100$, at which point you start taking some "shots" at 5NL. If you prefer tournaments, then the games to play with a 30-40$ bankroll, will be 1$ SnGs and lower. On PokerStars it could be the 25c and 50c "on demand" games and maybe some 1$ 9-mans.
Of course its also fine trying to add some more money to the bankroll from freerolls to speed up the process and reduce the risk of having to redeposit. So maybe try to qualify for "platinum level" at CC. That opens up some pretty decent freerolls, you play play several days a week. But I do advice not relying solely on freerolls, since it will limit the amount of volume, you can put in, and slow your development as a player. You want to test yourself against the competition in games, where people put up their own money and prove, you can beat them. If that is not the case, its pointless to even talk about "bankroll", since any money will eventually be lost, if you continue playing.