Theoretical Studies on the ultrafast photodissociation of molecules