Updating template project.
Correcting problem 2.
Solving problem 3.