You need to unlock the bootloader following this:
Than you can flash a custom kernel using the flashtool. Custom kernels already contain CWM and you can use it to flash the new rom....
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?