added Attempt, changed functions dir from Lib to Vendor