For the first one, I use this tutorial.

Tutorial