add main and bin for global usage~