Constructing Low-Energy Effective Models For Real Materials