Automatic generation of smart earthquake-resistant building system: hybrid system of base-isolation and building-connection