Theoretical study of transition metal dichalcogenides