Ab Initio Molecular Dynamics Basic Theory And Advanced Methods