A manual for MDFT