How to Write a Research Proposal and a Thesis: A Manual for Students and Researchers