moved all getdetails logic from setup to billingavailable

Please review
#162