Theoretical Studies of Short Pulse Interaction with Resonant Media and Nonlinear Photonic Structures