add main code & podspec