The first thing you should do is talk to your boss about it. Tell him why you're unhappy and see if he can help. If he values you as an employee, he'll bend over backwards to make you happy and prevent you from leaving. If not... then it's time to leave anyway. Full-time freelancing might be an option, but it's harder than it looks. You may just want to look for another job.